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