Exemplo n.º 1
0
        public void EditDaysWork(DaysWork daysWork)
        {
            var d = applicationDbContext.DaysWorks.Where(a => a.IdArtit == daysWork.IdArtit).FirstOrDefault();

            d = daysWork;
            applicationDbContext.SaveChanges();
        }
Exemplo n.º 2
0
 public void AddDaysWork(DaysWork daysWork)
 {
     applicationDbContext.DaysWorks.Add(daysWork);
     applicationDbContext.SaveChanges();
 }