Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 public ShowModel(WebApplication1.ApplicationContext context)
 {
     _context = context;
 }