Example #1
0
 public bool DeleteStructureDepartment(StructureDepartment structureDepartment)
 {
     _pmRepository.Delete(structureDepartment, _pmRepository.GetApplicationDbContext);
     return(true);
 }
Example #2
0
 public StructureDepartment UpdateStructureDepartment(StructureDepartment structureDepartment)
 {
     return(_pmRepository.Update(structureDepartment, _pmRepository.GetApplicationDbContext));
 }
Example #3
0
 //Structure Department
 public StructureDepartment AddStructureDepartment(StructureDepartment structureDepartment)
 {
     return(_pmRepository.Insert(structureDepartment, _pmRepository.GetApplicationDbContext));
 }