public IEnumerable <TEntity> CallSp(string spName, SqlParameters parameters)
 {
     return(context.Database.CallSp <TEntity>(spName, parameters));
 }
 public IEnumerable <TEntity> GetCustomQuery(string query, SqlParameters parameters)
 {
     return(context.Database.GetCustomQuery <TEntity>(query, parameters));
 }