public ManageController(IVerificationProvider verificationProvider, IMapper mapper, IUsersService usersService, IAnimalsService animalsService) { Guard.WhenArgument(verificationProvider, nameof(verificationProvider)).IsNull().Throw(); Guard.WhenArgument(mapper, nameof(mapper)).IsNull().Throw(); Guard.WhenArgument(usersService, nameof(usersService)).IsNull().Throw(); Guard.WhenArgument(animalsService, nameof(animalsService)).IsNull().Throw(); this.verificationProvider = verificationProvider; this.mapper = mapper; this.usersService = usersService; this.animalsService = animalsService; }
public ApiController(IAnimalsService animalsService) { this.animalsService = animalsService; }
public AnimalsController(IAnimalsService AnimalsService) { this.AnimalsService = AnimalsService; }
public AnimalssController(IAnimalsService animalService) { _animalService = animalService; }
public HomeController(ILogger <HomeController> logger, IAnimalsService animalService) { _logger = logger; this._animalService = animalService; }