public HttpResponseMessage DeleteGroup([FromBody]IdentityModel model) { return SafeAction(() => { IDelightServices service = new DelightServices(); service.DeleteUserGroup(model.Id); var response = Request.CreateResponse<bool>(HttpStatusCode.OK, true); return response; }, model); }