After adding Category ViewModel., An unhandled exception occurred while processing the request – Asp.net
CategoryVM::::: public class CategoryVM { public Category Category { get; set; } = new Category(); public IEnumerable<Category> Categories { get; set; } = new List<Category>(); } CategoryController:::: private IUnitOfWork _unitOfWork; public CategoryController(IUnitOfWork unitOfWork) { _unitOfWork = unitOfWork; } public IActionResult…