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 StateController(IStateDomainService service) : base(service) { }
public StateController(IStateDomainService stateDomainService) { StateDomainService = stateDomainService; }