public Admin(IAdminDAL adminDAL) { this._adminDAL = adminDAL; Permissions = new List <string>(); UserRole = 1; }
public int ChkLogInCredentials(ILogin objLogIn) { IAdminDAL objDAL = AdminDALFactory.CreateAdminDALObject(); return(objDAL.ChkLogInCredentials(objLogIn)); }
public IEmployee GetEmployee(int employeeID) { IAdminDAL objDAL = AdminDALFactory.CreateAdminDALObject(); return(objDAL.GetEmployee(employeeID)); }
public bool UpdateEmployee(IEmployee objEmployee) { IAdminDAL objDAL = AdminDALFactory.CreateAdminDALObject(); return(objDAL.UpdateEmployee(objEmployee)); }
public bool UpdateEmployeeDetails(List <IEmployee> lstEmployee) { IAdminDAL objDAL = AdminDALFactory.CreateAdminDALObject(); return(objDAL.UpdateEmployeeDetails(lstEmployee)); }
public bool AddEmployeeDetails(IEmployee objEmployee) { IAdminDAL objDAL = AdminDALFactory.CreateAdminDALObject(); return(objDAL.AddEmployeeDetails(objEmployee)); }
public bool ValidateSecurity(int empid, string answer) { IAdminDAL objDAL = TCS.ISMS.DALFactory.AdminDALFactory.CreateAdminDALObject(); return(objDAL.ValidateSecurity(empid, answer)); }
public IItem GetItemByItemId(int itemId) { IAdminDAL objDAL = AdminDALFactory.CreateAdminDALObject(); return(objDAL.GetItemByItemId(itemId)); }
public AdminController(IAdminDAL _adminDal) { this.adminDal = _adminDal; }
public AuthManager(IAdminDAL AdminDAL) { _AdminDAL = AdminDAL; }
public AdminService(IAdminDAL repo) { _adminRepo = repo; }
public AdminBLL(IAdminDAL stub) { _repository = stub; }
public AdminBLL() { _repository = new AdminDAL(); }
public AdminManager(IAdminDAL AdminDAL) { _adminDAL = AdminDAL; }
public AdminController(IAdminDAL admin) { iadmin = admin; }
public AdminService(IAdminDAL adminDAL) { _adminDAL = adminDAL; }
public List <IItemCategory> GetCategoryList() { IAdminDAL objDAL = AdminDALFactory.CreateAdminDALObject(); return(objDAL.GetCategoryList()); }
public AdminBl(IAdminDAL adminDAL) { _adminDAL = adminDAL; }
public bool CheckEmpID(int empID) { IAdminDAL objDAL = DALFactory.AdminDALFactory.CreateAdminDALObject(); return(objDAL.CheckEmpID(empID)); }
public AdminBLL() { _aDAL = new AdminDAL(); _kDAL = new Kundebehandler(); }
public bool ChangePassword(int empid, string password) { IAdminDAL objDAL = TCS.ISMS.DALFactory.AdminDALFactory.CreateAdminDALObject(); return(objDAL.ChangePassword(empid, password)); }
public AdminBLL(IAdminDAL astub, IKundebehandler kstub) { _aDAL = astub; _kDAL = kstub; }
public void SaveCategory(string name) { IAdminDAL objDAL = AdminDALFactory.CreateAdminDALObject(); objDAL.SaveCategory(name); }
public AdminBAL(IAdminDAL AdminDAL) { _AdminDAL = AdminDAL; }
public bool DeleteEmployeeDetails(List <int> lstEmployee) { IAdminDAL objDAL = AdminDALFactory.CreateAdminDALObject(); return(objDAL.DeleteEmployeeDetails(lstEmployee)); }
public ILogon GetUserMenu(ILogin loginDetails) { IAdminDAL objDAL = AdminDALFactory.CreateAdminDALObject(); return(objDAL.GetUserMenu(loginDetails)); }
public List <IEmployee> GetEmployeeDetailsList(string name) { IAdminDAL objDAL = AdminDALFactory.CreateAdminDALObject(); return(objDAL.GetEmployeeDetailsList(name)); }
public bool UpdateItemDetails(IItem objItem) { IAdminDAL objDAL = AdminDALFactory.CreateAdminDALObject(); return(objDAL.UpdateItemDetails(objItem)); }
public List <IRole> GetRoleList() { IAdminDAL objDAL = AdminDALFactory.CreateAdminDALObject(); return(objDAL.GetRoleList()); }
public List <IItem> GetItemDetails(int CategoryId) { IAdminDAL objDAL = AdminDALFactory.CreateAdminDALObject(); return(objDAL.GetItemDetails(CategoryId)); }
public bool DeleteItemDetails(List <int> ItemID) { IAdminDAL objDAL = AdminDALFactory.CreateAdminDALObject(); return(objDAL.DeleteItemDetails(ItemID)); }
public AdminService(IAdminDAL adminDAL) { this.adminDAL = adminDAL; }