//[ProducesResponseType(StatusCodes.Status200OK)] //[ProducesResponseType(StatusCodes.Status404NotFound)] public IActionResult Delete(long id) { if (CompanyProvider.Del(id)) { return(Ok()); } else { return(BadRequest()); } }