Esempio n. 1
0
 public Task <DashboardSetting> CreateSetting(DashboardSetting dashboardSetting, User user)
 {
     return(_cacheable.Cache(
                $"some_prefix--{user.Id}",
                TimeSpan.FromSeconds(60),
                () => _dashboardService.CreateSetting(dashboardSetting, user)
                ));
 }
Esempio n. 2
0
 public Task <DashboardSetting> CreateSetting(DashboardSetting dashboardSetting, User user)
 {
     throw new System.NotImplementedException();
 }