public TasksModel(WebApplication1.ApplicationContext context) { //context.Tasks.Add(new Models.Task { Name = "Buy a cat", Description = "Call him a SexyBabe", Deadline = Convert.ToDateTime("02/02/2022") }); //context.SaveChanges(); _context = context; }
public ShowModel(WebApplication1.ApplicationContext context) { _context = context; }