public async Task <IActionResult> DeleteCalculation(int id) { try { await calculationService.DeleteAsync(id); return(new OkResult()); } catch (Exception ex) { return(new BadRequestObjectResult(new { Message = ex.Message })); } }