Пример #1
0
 public AccountController(IHostingEnvironment env, CamerackStudioDataContext databaseConnection)
 {
     _databaseConnection = databaseConnection;
     _users             = new AppUserFactory().GetAllUsers(new AppConfig().FetchUsersUrl).Result;
     _pushNotifications = new AppUserFactory().GetAllPushNotifications(new AppConfig()
                                                                       .UsersPushNotifications).Result.ToList();
 }
Пример #2
0
 public ApiController(CamerackStudioDataContext databaseConnection)
 {
     _databaseConnection = databaseConnection;
 }
Пример #3
0
 public HeaderImageController(CamerackStudioDataContext databaseConnection)
 {
     _databaseConnection = databaseConnection;
 }
Пример #4
0
 public ImageController(CamerackStudioDataContext databaseConnection)
 {
     _databaseConnection = databaseConnection;
     _users = new AppUserFactory().GetAllUsers(new AppConfig().FetchUsersUrl).Result;
 }
Пример #5
0
 public PaymentController(CamerackStudioDataContext databaseConnection)
 {
     _databaseConnection = databaseConnection;
     pushNotifications   = new AppUserFactory().GetAllPushNotifications(new AppConfig()
                                                                        .UsersPushNotifications).Result.Where(n => n.ClientId == new AppConfig().ClientId).ToList();
 }
Пример #6
0
 public NotificationHub(CamerackStudioDataContext databaseConnection)
 {
     _databaseConnection = databaseConnection;
     _pushNotifications  = new AppUserFactory().GetAllPushNotifications(new AppConfig().UsersPushNotifications).Result;
 }
 public PhotographerCategoryController(IHostingEnvironment env, CamerackStudioDataContext databaseConnection)
 {
     _databaseConnection = databaseConnection;
     _hostingEnv         = env;
 }
Пример #8
0
 public AdvertisementController(CamerackStudioDataContext databaseConnection)
 {
     _databaseConnection = databaseConnection;
 }
Пример #9
0
 public ImageCategoryController(CamerackStudioDataContext databaseConnection)
 {
     _databaseConnection = databaseConnection;
 }