public async Task <ActionResult> DeleteById(int id)
        {
            var response = await _serviceGroupService.DeleteServiceGroup(id);

            return(StatusCode(response.StatusCode));
        }
Exemple #2
0
        public IHttpActionResult Delete(int serviceGroupID)
        {
            var response = service.DeleteServiceGroup(serviceGroupID);

            return(Ok(response));
        }