public string[] GetRole(string username) { var data = _idataaccessdal.GetFilter(x => x.user.First_Name == username).ToList(); string[] result = new string[data.Count]; int i = 0; string s = string.Empty; foreach (var item in data) { s = item.role.Role_Name.ToString(); result[i] = s; i++; } return(result); }
public IEnumerable <discountcart> GetFilter(Expression <Func <discountcart, bool> > expression) { return(_dataAccessDal.GetFilter(expression)); }
public IEnumerable <payment_plan> GetFilter(Expression <Func <payment_plan, bool> > expression) { return(_dataAccessDal.GetFilter(expression)); }
public IEnumerable <userproduct> GetFilter(Expression <Func <userproduct, bool> > expression) { return(_dataAccessDal.GetFilter(expression)); }
public IEnumerable <Tax_Administration> GetFilter(Expression <Func <Tax_Administration, bool> > expression) { return(_dataAccessDal.GetFilter(expression)); }
public IEnumerable <FuelType> GetFilter(Expression <Func <FuelType, bool> > expression) { return(_dataAccessDal.GetFilter(expression)); }
public IEnumerable <submit> GetFilter(Expression <Func <submit, bool> > expression) { return(_dataAccessDal.GetFilter(expression)); }
public IEnumerable <auction> GetFilter(Expression <Func <auction, bool> > expression) { return(_dataAccessDal.GetFilter(expression)); }
public IEnumerable <CarHardwareDetail> GetFilter(Expression <Func <CarHardwareDetail, bool> > expression) { return(_dataAccessDal.GetFilter(expression)); }
public IEnumerable <AMOUNT_OF_INCREASE> GetFilter(Expression <Func <AMOUNT_OF_INCREASE, bool> > expression) { return(_dataAccessDal.GetFilter(expression)); }
public IEnumerable <PRICEBOT> GetFilter(Expression <Func <PRICEBOT, bool> > expression) { return(_dataAccessDal.GetFilter(expression)); }
public IEnumerable <GeneralDesign> GetFilter(Expression <Func <GeneralDesign, bool> > expression) { return(_dataAccessDal.GetFilter(expression)); }
public IEnumerable <CarBrand> GetFilter(Expression <Func <CarBrand, bool> > expression) { return(_dataAccessDal.GetFilter(expression)); }
public IEnumerable <medium> GetFilter(Expression <Func <medium, bool> > expression) { return(_dataAccessDal.GetFilter(expression)); }
public IEnumerable<county> GetFilter(Expression<Func<county, bool>> expression) { return _dataAccessDal.GetFilter(expression); }
public IEnumerable <company> GetFilter(Expression <Func <company, bool> > expression) { return(_dataAccessDal.GetFilter(expression)); }
public IEnumerable <CURRENCY> GetFilter(Expression <Func <CURRENCY, bool> > expression) { return(_dataAccessDal.GetFilter(expression)); }
public IEnumerable <UserRole> GetFilter(Expression <Func <UserRole, bool> > expression) { return(_dataAccessDal.GetFilter(expression)); }
public IEnumerable <user> GetFilter(Expression <Func <user, bool> > expression) { return(_idataaccessdal.GetFilter(expression)); }
public IEnumerable <E_INVOICE> GetFilter(Expression <Func <E_INVOICE, bool> > expression) { return(_dataAccessDal.GetFilter(expression)); }
public IEnumerable <SOLD_PRODUCT> GetFilter(Expression <Func <SOLD_PRODUCT, bool> > expression) { return(_dataAccessDal.GetFilter(expression)); }
public IEnumerable <employee> GetFilter(Expression <Func <employee, bool> > expression) { return(_dataAccessDal.GetFilter(expression)); }
public IEnumerable <Menu> GetFilter(Expression <Func <Menu, bool> > expression) { return(_dataAccessDal.GetFilter(expression)); }
public IEnumerable <RoleClaim> GetFilter(Expression <Func <RoleClaim, bool> > expression) { return(_dataAccessDal.GetFilter(expression)); }
public IEnumerable <SocialMedya> GetFilter(Expression <Func <SocialMedya, bool> > expression) { return(_dataAccessDal.GetFilter(expression)); }
public IEnumerable <odeme_yontemi> GetFilter(Expression <Func <odeme_yontemi, bool> > expression) { return(_dataAccessDal.GetFilter(expression)); }