Exemplo n.º 1
0
 public PromisesController(
     IPromiseRepository promiseRepository,
     UserManager <ApplicationUser> userManager)
 {
     _promiseRepository = promiseRepository;
     _userManager       = userManager;
 }
Exemplo n.º 2
0
 public CabinetController(
     UserManager <ApplicationUser> userManager,
     IPromiseRepository promiseRepository,
     IFriendsRepository friendsRepository,
     IMessagesRepository messagesRepository,
     IUserTracker <Notification> userTracker)
 {
     _promiseRepository  = promiseRepository;
     _userManager        = userManager;
     _messagesRepository = messagesRepository;
     _userTracker        = userTracker;
     _friendsRepository  = friendsRepository;
 }