public string getDefaultFilter() { string key = ""; OverviewFilter model = new OverviewFilter(); key = JsonConvert.SerializeObject(model); return(key); }
public string getCurrentFilter(WidgetContainerModel container) { string key = ""; OverviewFilter model = new OverviewFilter() { UserId = container.UserId, BussinessId = container.BusinessId, ProjectStatusTypeId = container.ProjectStatusTypeId, ProjectOpenStatusTypeId = container.ProjectOpenStatusTypeId, Year = container.Year }; key = JsonConvert.SerializeObject(model); return(key); }