public async Task <JsonResult> Delete(string id, string userId) { var result = await _areaAppService.Delete(id, userId); OutputModel outputModel = new OutputModel(); outputModel.Data = result; return(new JsonResult(outputModel)); }
public async Task <JsonResult> Delete(string id, string userId) { var result = await _areaAppService.Delete(id, userId); OutputModel outputModel = new OutputModel(); outputModel.Data = result; return(new JsonResult(outputModel)); }