Esempio n. 1
0
 public EventController(IGenericServiceAsync <EventDto, Event> genericService, IEventService eventService, UserManager <ApplicationUser> userManager) : base(genericService)
 {
     _eventService = eventService;
     _userManager  = userManager;
 }
Esempio n. 2
0
 public SalesController(IGenericServiceAsync <Sale> service, ISalesService salesService)
 {
     _service      = service;
     _salesService = salesService;
 }
Esempio n. 3
0
 public GenericBaseControllerAsync(IGenericServiceAsync <TDto, TEntity> service)
 {
     _service = service ?? throw new ArgumentNullException(nameof(service));
 }
Esempio n. 4
0
 public FriendshipController(IGenericServiceAsync <FriendshipDto, Friendship> genericService, IFriendshipService friendshipService, UserManager <ApplicationUser> userManager) : base(genericService)
 {
     _friendshipService = friendshipService;
     _userManager       = userManager;
 }
Esempio n. 5
0
 public UserController(IGenericServiceAsync <UserDto, ApplicationUser> service) : base(service)
 {
 }