Exemple #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();
 }
Exemple #2
0
 public ApiController(CamerackStudioDataContext databaseConnection)
 {
     _databaseConnection = databaseConnection;
 }
Exemple #3
0
 public HeaderImageController(CamerackStudioDataContext databaseConnection)
 {
     _databaseConnection = databaseConnection;
 }
Exemple #4
0
 public ImageController(CamerackStudioDataContext databaseConnection)
 {
     _databaseConnection = databaseConnection;
     _users = new AppUserFactory().GetAllUsers(new AppConfig().FetchUsersUrl).Result;
 }
Exemple #5
0
 public PaymentController(CamerackStudioDataContext databaseConnection)
 {
     _databaseConnection = databaseConnection;
     pushNotifications   = new AppUserFactory().GetAllPushNotifications(new AppConfig()
                                                                        .UsersPushNotifications).Result.Where(n => n.ClientId == new AppConfig().ClientId).ToList();
 }
Exemple #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;
 }
Exemple #8
0
 public AdvertisementController(CamerackStudioDataContext databaseConnection)
 {
     _databaseConnection = databaseConnection;
 }
Exemple #9
0
 public ImageCategoryController(CamerackStudioDataContext databaseConnection)
 {
     _databaseConnection = databaseConnection;
 }