public IHttpActionResult DeleteLicense(long licenseId) { try { return(Ok(_licenseService.DeleteLicense(licenseId))); } catch (Exception ex) { return(InternalServerError(ex)); } }