Exemplo n.º 1
0
 public DetailsModel(VehicleDbContext context, IAuthorizationService authorizationService,
                     IUserFileService userFileService)
 {
     _context = context;
     _authorizationService = authorizationService;
     _userFileService      = userFileService;
 }
Exemplo n.º 2
0
 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";
 }
Exemplo n.º 3
0
 public DetailsModel(ITownRepository townRepository, IGroupRepository groupService,
                     IAuthorizationService authorizationService, IUserFileService userFileService)
 {
     _townRepository       = townRepository;
     _groupService         = groupService;
     _authorizationService = authorizationService;
     _userFileService      = userFileService;
 }
Exemplo n.º 4
0
        public PostController() {

            blogService = new BlogService();
            postService = new BlogPostService();
            categoryService = new BlogCategoryService();
            friendService = new FriendService();
            fileService = new UserFileService();
        }
Exemplo n.º 5
0
 public PostController()
 {
     blogService     = new BlogService();
     postService     = new BlogPostService();
     categoryService = new BlogCategoryService();
     friendService   = new FriendService();
     fileService     = new UserFileService();
 }
Exemplo n.º 6
0
 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";
 }
Exemplo n.º 7
0
 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;
 }
Exemplo n.º 8
0
 public BlogPicService() {
     fileService = new UserFileService();
 }
Exemplo n.º 9
0
 public FileUploadService(IUserFileService userFileService, IUserService userService, IDocumentSession session)
 {
     _userFileService = userFileService;
     _userService = userService;
     _session = session;
 }
Exemplo n.º 10
0
 public BlogPicService()
 {
     fileService = new UserFileService();
 }
Exemplo n.º 11
0
 public PostController()
 {
     postService = new BlogPostService();
     fileService = new UserFileService();
 }
Exemplo n.º 12
0
 public PostController() {
     postService = new BlogPostService();
     fileService = new UserFileService();
 }