TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Guest User
Tech Writer
611
126.4k
Get Category And Sub Category.
Aug 17 2020 4:00 AM
var Result = _context.TblVideoMaster.Join(_context.CategoryMaster, r => r.CategoryId, p => p.CategoryTypeId, (r, p) => new { r,p }).Join(_context.TblSubCategoryDetails, d => d.r.SubCategoryId, ro => ro.SubCategoryId, (d, ro) => new { d, ro })
.Where(x => x.d.r.UserId == Id)
.Select(m => new
{
UserId = m.d.r.UserId,
CategoryName = m.d.p.CategoryName,
SubCategory = m.ro.SubCategoryName,
FilePath = m.d.r.FilePath
}).ToList();
use this query get subcategory video.But i have face issue i have click like throwing category -get subcategory drills .it's working
But i have click Catching category .same record get (throwing category).
Reply
Answers (
1
)
EnableCors attribute is not working after hosting on IIS .
create thumbnail in asp.net entity framework