Exemple #1
0
 public DetailsModel(VehicleDbContext context, IAuthorizationService authorizationService,
                     IUserFileService userFileService)
 {
     _context = context;
     _authorizationService = authorizationService;
     _userFileService      = userFileService;
 }
Exemple #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";
 }
Exemple #3
0
 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();
        }
Exemple #5
0
 public PostController()
 {
     blogService     = new BlogService();
     postService     = new BlogPostService();
     categoryService = new BlogCategoryService();
     friendService   = new FriendService();
     fileService     = new UserFileService();
 }
Exemple #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";
 }
 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();
 }
Exemple #9
0
 public FileUploadService(IUserFileService userFileService, IUserService userService, IDocumentSession session)
 {
     _userFileService = userFileService;
     _userService = userService;
     _session = session;
 }
Exemple #10
0
 public BlogPicService()
 {
     fileService = new UserFileService();
 }
Exemple #11
0
 public PostController()
 {
     postService = new BlogPostService();
     fileService = new UserFileService();
 }
 public PostController() {
     postService = new BlogPostService();
     fileService = new UserFileService();
 }