public bool SaveAll(StaffType aStaffType) { bool condition; aStaffTypeGateway = new StaffTypeGateway(); condition = aStaffTypeGateway.SaveAll(aStaffType); if (condition) { return(true); } else { return(false); } }
public List <StaffType> GetAllStaffType() { aStaffTypeGateway = new StaffTypeGateway(); return(aStaffTypeGateway.GetAllStaffType()); }