コード例 #1
0
 public DataTable DisplayRoaster_BLL()
 {
     try
     {
         RoasterOperations pd = new RoasterOperations();
         return(pd.DisplayRoaster_DAL());
     }
     catch (EmployeeRosterException)
     {
         throw;
     }
 }
コード例 #2
0
 public DataTable CheckRoster_BLL(EmployeeRoster roster)
 {
     try
     {
         RoasterOperations pd = new RoasterOperations();
         return(pd.CheckRoster_DAL(roster));
     }
     catch (EmployeeRosterException)
     {
         throw;
     }
 }
コード例 #3
0
 public DataTable DisplayRoaster_BLL()
 {
     try
     {
         RoasterOperations pd = new RoasterOperations();
         return(pd.DisplayRoaster_DAL());
     }
     catch (EmployeeRosterException)
     {
         throw;
     }
     //DisplayRoaster_DAL  pd.CheckRosterDailyLog_DAL(roster);
 }
コード例 #4
0
        public DataTable AddRoaster_BLL(EmployeeRoster robj)
        {
            DataTable addRoster = null;

            try
            {
                RoasterOperations pd = new RoasterOperations();
                if (ValiadateRoster(robj))
                {
                    addRoster = pd.AddRoaster_DAL(robj);
                    return(addRoster);
                }
            }
            catch (EmployeeRosterException)
            {
                throw;
            }
            return(addRoster);
        }