July 2019
Intermediate to advanced
410 pages
10h 32m
English
In this section, we will start creating functional pages to create, update, and delete products. To get started, open your FlixOne solution, and add the following classes into the specified folders:
Models: Add the following files in the Models folder of the solution:
public class Product{ public Guid Id { get; set; } public string Name { get; set; } public string Description { get; set; } public string Image { get; set; } public decimal Price { get; set; } public Guid CategoryId { get; set; } public virtual Category Category { get; set; }}
The Product class represents almost all the elements of the product. It has a Name, a complete Description, an ...
Read now
Unlock full access