Exemple #1
0
 public virtual ActionResult <TModel> Insert(TInsert request)
 {
     try
     {
         return(_service.Insert(request));
     }
     catch
     {
         return(BadRequest("Insert request doesn't contain valid values"));
     }
 }
Exemple #2
0
 public T Insert(TInsert request)
 {
     return(_service.Insert(request));
 }
Exemple #3
0
 public virtual T Insert(TInsert request)
 {
     return(_service.Insert(request));
 }
Exemple #4
0
 public virtual TEntityDTO Post([FromBody] TEntityInsertRequest request)
 {
     return(_baseCRUDService.Insert(request));
 }