Beispiel #1
0
        public ServerResponse GetStaffNo()
        {
            var res = new ServerResponse();

            using (StaffBL StaffBL = new StaffBL())
            {
                try
                {
                    res.Data = StaffBL.GetStaffNo();
                }
                catch (Exception ex)
                {
                    res.Success = false;
                }
            }
            return(res);
        }