public Employee MapToOrm(DalEmployee entity) { return(new Employee { id = entity.Id, fathername = entity.Fathername, function = entity.Function, knowledgeCheckDate = entity.KnowledgeCheckDate, medicalCheckDate = entity.MedicalCheckDate, name = entity.Name, sirname = entity.Sirname }); }
public BllEmployee MapToBll(DalEmployee entity) { BllEmployee bllEntity = new BllEmployee { Id = entity.Id, Fathername = entity.Fathername, Function = entity.Function, KnowledgeCheckDate = entity.KnowledgeCheckDate, MedicalCheckDate = entity.MedicalCheckDate, Name = entity.Name, Sirname = entity.Sirname }; return(bllEntity); }
public DalEmployee MapToDal(BllEmployee entity) { DalEmployee dalEntity = new DalEmployee { Id = entity.Id, Fathername = entity.Fathername, Function = entity.Function, KnowledgeCheckDate = entity.KnowledgeCheckDate, MedicalCheckDate = entity.MedicalCheckDate, Name = entity.Name, Sirname = entity.Sirname }; return(dalEntity); }
public List <UserGroups> GetAllUserGroups() { return(DbScopeManager.Execute(connection => DalEmployee.GetAllUserGroups(connection))); }
public bool IsActiveByGroups(string groups, string userName) { return(DbScopeManager.Execute(conn => DalEmployee.IsActiveByGroups(conn, groups, userName))); }
public List <WMSUserObject> SelectShopsEmployeeByEmailAddress(string emailAddress) { ParameterChecker.CheckNull(emailAddress, "emailAddress"); return(DbScopeManager.Execute(conn => DalEmployee.SelectShopsEmployeeByEmailAddress(conn, emailAddress))); }