public IHttpActionResult MoveWidgetToDashboard([FromBody] UserWidgetDTO model) { widgetManager = new WidgetManager(); widgetManager.MoveWidgetToDashBoard(model.WidgetId, model.GraphType, model.ItemIds, User.Identity.GetUserId()); return(StatusCode(HttpStatusCode.NoContent)); }