public AccountController( IUsersService usersService, ITokenStoreService tokenStoreService, ITokenFactoryService tokenFactoryService, IUnitOfWork uow, IAntiForgeryCookieService antiforgery, ITagServices tagServices, IZirReshtehServices zirReshteh ) { _zirreshteh = zirReshteh; _Tags = tagServices; _usersService = usersService; _usersService.CheckArgumentIsNull(nameof(usersService)); _tokenStoreService = tokenStoreService; _tokenStoreService.CheckArgumentIsNull(nameof(tokenStoreService)); _uow = uow; _uow.CheckArgumentIsNull(nameof(_uow)); _antiforgery = antiforgery; _antiforgery.CheckArgumentIsNull(nameof(antiforgery)); _tokenFactoryService = tokenFactoryService; _tokenFactoryService.CheckArgumentIsNull(nameof(tokenFactoryService)); }
public UserReshtehController(IUsersService usersService, IReshtehServices reshtehServices, IZirReshtehServices zirReshteh) { _user = usersService; _reshteh = reshtehServices; _zirReshteh = zirReshteh; }