Ejemplo n.º 1
0
 public async Task <IActionResult> Add()
 {
     try
     {
         return(new JsonResult(await _basketservice.AddToCart(Request, Response)));
     }
     catch (Exception ex)
     {
         return(new JsonResult(ResponseModel.ServerInternalError()));
     }
 }