private GcStatusModel PostNewItemStatus(string gcItemId, string statusId, string projectId) { ItemsService.ChangeItemStatus(gcItemId, statusId); var status = ProjectsService.GetSingleStatus(statusId, projectId); var statusModel = new GcStatusModel { Color = status.Data.Color, Name = status.Data.Name }; return(statusModel); }
private GcStatusModel PostNewItemStatus(string gcItemId, string statusId, string projectId) { FactoryService.Services.ItemsService.ChooseStatusForItem(gcItemId, statusId); var status = FactoryService.Services.ProjectsService.GetSingleStatus(statusId, projectId); var statusModel = new GcStatusModel { Color = status.Data.Color, Name = status.Data.Name }; return(statusModel); }