public DetailsModel(VehicleDbContext context, IAuthorizationService authorizationService, IUserFileService userFileService) { _context = context; _authorizationService = authorizationService; _userFileService = userFileService; }
public UserController(IRedisCache redisCache, IObjectMapper objectMapper, IUnitWork unitWork, IMemoryCache cache, IUserFileService userFileService, AuthrizeValidator authrize, ILogger <UserController> logger) : base(redisCache, unitWork, cache, authrize, logger) { base.ObjectMapper = objectMapper; this._userFileService = userFileService; base.IsCustomValidator = true; base.PageName = "user"; }
public DetailsModel(ITownRepository townRepository, IGroupRepository groupService, IAuthorizationService authorizationService, IUserFileService userFileService) { _townRepository = townRepository; _groupService = groupService; _authorizationService = authorizationService; _userFileService = userFileService; }
public PostController() { blogService = new BlogService(); postService = new BlogPostService(); categoryService = new BlogCategoryService(); friendService = new FriendService(); fileService = new UserFileService(); }
public AdminController(IRedisCache redisCache, IObjectMapper objectMapper, IUnitWork unitWork, IMemoryCache cache, Core core, IUserFileService userFileService, AuthrizeValidator authrize, IHttpClientFactory httpClientFactory, IConfiguration configuration, ILogger <AdminController> Logger) : base(redisCache, unitWork, configuration, cache, authrize, Logger) { base.ObjectMapper = objectMapper; this._core = core; this._userFileService = userFileService; this._httpClientFactory = httpClientFactory; this._fileAddress = Configuration["FileAddress"]; base.IsCustomValidator = true; base.PageName = "admin"; }
public ManageController(ApplicationUserManager applicationUserManager, IUserCompanyService userCompanyService, ISettingService settingService, IUserFileService userFileService, ISharedLinkService sharedFileService, AddressService addressService) { _applicationUserManager = applicationUserManager; _userCompanyService = userCompanyService; _settingService = settingService; _addressService = addressService; _userFileService = userFileService; _sharedFileService = sharedFileService; }
public BlogPicService() { fileService = new UserFileService(); }
public FileUploadService(IUserFileService userFileService, IUserService userService, IDocumentSession session) { _userFileService = userFileService; _userService = userService; _session = session; }
public PostController() { postService = new BlogPostService(); fileService = new UserFileService(); }