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); }
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); }