コード例 #1
0
        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);
        }
コード例 #2
0
 public IEnumerable <discountcart> GetFilter(Expression <Func <discountcart, bool> > expression)
 {
     return(_dataAccessDal.GetFilter(expression));
 }
コード例 #3
0
 public IEnumerable <payment_plan> GetFilter(Expression <Func <payment_plan, bool> > expression)
 {
     return(_dataAccessDal.GetFilter(expression));
 }
コード例 #4
0
 public IEnumerable <userproduct> GetFilter(Expression <Func <userproduct, bool> > expression)
 {
     return(_dataAccessDal.GetFilter(expression));
 }
コード例 #5
0
 public IEnumerable <Tax_Administration> GetFilter(Expression <Func <Tax_Administration, bool> > expression)
 {
     return(_dataAccessDal.GetFilter(expression));
 }
コード例 #6
0
 public IEnumerable <FuelType> GetFilter(Expression <Func <FuelType, bool> > expression)
 {
     return(_dataAccessDal.GetFilter(expression));
 }
コード例 #7
0
 public IEnumerable <submit> GetFilter(Expression <Func <submit, bool> > expression)
 {
     return(_dataAccessDal.GetFilter(expression));
 }
コード例 #8
0
 public IEnumerable <auction> GetFilter(Expression <Func <auction, bool> > expression)
 {
     return(_dataAccessDal.GetFilter(expression));
 }
コード例 #9
0
 public IEnumerable <CarHardwareDetail> GetFilter(Expression <Func <CarHardwareDetail, bool> > expression)
 {
     return(_dataAccessDal.GetFilter(expression));
 }
コード例 #10
0
 public IEnumerable <AMOUNT_OF_INCREASE> GetFilter(Expression <Func <AMOUNT_OF_INCREASE, bool> > expression)
 {
     return(_dataAccessDal.GetFilter(expression));
 }
コード例 #11
0
 public IEnumerable <PRICEBOT> GetFilter(Expression <Func <PRICEBOT, bool> > expression)
 {
     return(_dataAccessDal.GetFilter(expression));
 }
コード例 #12
0
 public IEnumerable <GeneralDesign> GetFilter(Expression <Func <GeneralDesign, bool> > expression)
 {
     return(_dataAccessDal.GetFilter(expression));
 }
コード例 #13
0
 public IEnumerable <CarBrand> GetFilter(Expression <Func <CarBrand, bool> > expression)
 {
     return(_dataAccessDal.GetFilter(expression));
 }
コード例 #14
0
 public IEnumerable <medium> GetFilter(Expression <Func <medium, bool> > expression)
 {
     return(_dataAccessDal.GetFilter(expression));
 }
コード例 #15
0
 public IEnumerable<county> GetFilter(Expression<Func<county, bool>> expression)
 {
     return _dataAccessDal.GetFilter(expression);
 }
コード例 #16
0
 public IEnumerable <company> GetFilter(Expression <Func <company, bool> > expression)
 {
     return(_dataAccessDal.GetFilter(expression));
 }
コード例 #17
0
 public IEnumerable <CURRENCY> GetFilter(Expression <Func <CURRENCY, bool> > expression)
 {
     return(_dataAccessDal.GetFilter(expression));
 }
コード例 #18
0
 public IEnumerable <UserRole> GetFilter(Expression <Func <UserRole, bool> > expression)
 {
     return(_dataAccessDal.GetFilter(expression));
 }
コード例 #19
0
 public IEnumerable <user> GetFilter(Expression <Func <user, bool> > expression)
 {
     return(_idataaccessdal.GetFilter(expression));
 }
コード例 #20
0
 public IEnumerable <E_INVOICE> GetFilter(Expression <Func <E_INVOICE, bool> > expression)
 {
     return(_dataAccessDal.GetFilter(expression));
 }
コード例 #21
0
 public IEnumerable <SOLD_PRODUCT> GetFilter(Expression <Func <SOLD_PRODUCT, bool> > expression)
 {
     return(_dataAccessDal.GetFilter(expression));
 }
コード例 #22
0
 public IEnumerable <employee> GetFilter(Expression <Func <employee, bool> > expression)
 {
     return(_dataAccessDal.GetFilter(expression));
 }
コード例 #23
0
 public IEnumerable <Menu> GetFilter(Expression <Func <Menu, bool> > expression)
 {
     return(_dataAccessDal.GetFilter(expression));
 }
コード例 #24
0
 public IEnumerable <RoleClaim> GetFilter(Expression <Func <RoleClaim, bool> > expression)
 {
     return(_dataAccessDal.GetFilter(expression));
 }
コード例 #25
0
 public IEnumerable <SocialMedya> GetFilter(Expression <Func <SocialMedya, bool> > expression)
 {
     return(_dataAccessDal.GetFilter(expression));
 }
コード例 #26
0
 public IEnumerable <odeme_yontemi> GetFilter(Expression <Func <odeme_yontemi, bool> > expression)
 {
     return(_dataAccessDal.GetFilter(expression));
 }