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