Example #1
0
 public int ExecuteStoredProcedure <TParamOType>(TParamOType target, string storedProcedure) where TParamOType : class
 {
     using (var gbData = new UERPDataAccess())
     {
         return(gbData.ExecuteNonQuery(storedProcedure, target));
     }
 }
Example #2
0
        public int SaveAspNetRoleModule <TParamOType>(TParamOType target) where TParamOType : class
        {
            var storeProcedureName = "INSERT_AspNetRoleModule";

            using (var gbData = new UERPDataAccess())
            {
                return(gbData.ExecuteNonQuery(storeProcedureName, target));
            }
        }