public Employee GetByLoginname(string loginname, PcsEmployeeSO search) { Employee result = null; try { result = GetWorker.GetByLoginname(loginname, search); } catch (Exception ex) { LogSystem.Error(ex); result = null; } return(result); }
public User GetByLoginname(string loginname, AasUserSO search) { User result = null; try { result = GetWorker.GetByLoginname(loginname, search); } catch (Exception ex) { LogSystem.Error(ex); result = null; } return(result); }