public List <ClassificationIndexGet> CreateGetClassifications2(int LanguageId) { DynamicParameters parameters = new DynamicParameters(); parameters.Add("@LanguageID", LanguageId); string usp = "usp_AdminClassficationList @LanguageID"; var x = _sqlDataAccess.LoadData2 <ClassificationIndexGet>(usp, parameters); return(x); }
public List <UITermLanguageCustomizationList> IndexGet(string Controller, string Action, string UserId) { string usp = "usp_MVCUITermLanguageCustomizationIndexGet @Controller, @Action, @UserId"; // List<SqlParameter> parameters = new List<SqlParameter> {new SqlParameter ("@Controller" , Controller), DynamicParameters parameters = new DynamicParameters(); parameters.Add("@Controller", Controller); parameters.Add("@Action", Action); parameters.Add("@UserId", UserId); var x = _sqlDataAccess.LoadData2 <UITermLanguageCustomizationList>(usp, parameters); return(x); }