Esempio n. 1
0
 public Domain.Classes.Req.Domain.Entities.Staff Create(Domain.Classes.Req.Domain.Entities.Staff staff)
 {
     ((DbSet <Staff>)_dataContext.Staff).Add(staff);
     _dataContext.Save();
     return(staff);
 }
Esempio n. 2
0
 public void Update(Domain.Classes.Req.Domain.Entities.Staff staff)
 {
     this._dataContext.Save();
 }
Esempio n. 3
0
 public void UpdateStaff(Domain.Classes.Req.Domain.Entities.Staff staff)
 {
     _staffRepository.Update(staff);
 }