コード例 #1
0
        public bool SaveAll(StaffType aStaffType)
        {
            bool condition;

            aStaffTypeGateway = new StaffTypeGateway();

            condition = aStaffTypeGateway.SaveAll(aStaffType);
            if (condition)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
コード例 #2
0
 public List <StaffType> GetAllStaffType()
 {
     aStaffTypeGateway = new StaffTypeGateway();
     return(aStaffTypeGateway.GetAllStaffType());
 }