public Function() { ServiceProvider Provider = new Startup().ServiceProvider; CountryDomainService = Provider.GetService <ICountryDomainService>(); StateDomainService = Provider.GetService <IStateDomainService>(); JsonSerializerSettings = new JsonSerializerSettings { ContractResolver = new DefaultContractResolver { NamingStrategy = new CamelCaseNamingStrategy() }, Formatting = Formatting.Indented }; }
public CountryController(ICountryDomainService service) : base(service) { }
public CountryController(ICountryDomainService countryDomainService) { CountryDomainService = countryDomainService; }