Esempio n. 1
0
 /// <summary>
 /// Handles the DataTablesRequest for the Customer Database
 /// </summary>
 /// <param name="request">DataTables Ajax Request</param>
 /// <returns>DataTablesResponse for Customer table</returns>
 /// <remarks>
 /// When intergration with projects without Data.Repository classes, the
 /// base SQL query may be hard-coded here when making the call to the generic
 /// DataTablesRequestAsync() method.
 /// </remarks>
 public static async Task <DataTablesResponse <Customer> > DataTablesCustomerRequestAsync(DataTablesRequest request)
 {
     return(await DataTablesRequestAsync <Customer>(request, CustomerRepository.BaseQuery()));
 }