public IActionResult Delete(Firm firm) { var result = _Firmservice.Delete(firm); if (result.Success) { return(Ok(result.Message)); } return(BadRequest(result.Success.ToString() + " and " + result.Message)); }