Exemplo n.º 1
0
 public async Task <ActionResult <bool> > Add(InsertCrmModel request)
 {
     return(Ok(await _crmService.Add(await GetUserId(),
                                     request,
                                     GetPermissionId())));
 }
Exemplo n.º 2
0
 public async Task <IActionResult> Add(InsertCrmModel customerModel)
 {
     return(RedirectToAction("Index"));
     //return View(customerModel);
 }