public async Task <JsonResult> Delete(string Id) { var results = new ServerResponse(); try { results = await userService.DeleteAddressAsync(Id); } catch (Exception e) { Console.WriteLine(e); throw; } return(Json(results)); }
public async Task <JsonResult> Delete(string Id) { var results = new ServerResponse(); try { results = await userService.DeleteAddressAsync(Id); } catch (Exception e) { Console.WriteLine(e); throw; } return(Json(results)); }