public bool SomeMethod()
    {
        string key  = _someotherService.GetKey();
        string val  = _someotherService.GetValue();
        var    user = _userServiceFactory.GetUserService(key, val);

        return(false);
    }
예제 #2
0
 public Users(IUserServiceFactory userServiceFactory,
              IUserImageServiceFactory userImageServiceFactory,
              IHostingEnvironment environment)
 {
     UserService      = userServiceFactory.GetUserService();
     UserImageService = userImageServiceFactory.GetUserImageService();
     Environment      = environment;
 }