public CompanyController( ICompanyBusinessService companyBusinessService, IUserBusinessService userBusinessService) : base(userBusinessService) { this._companyBusinessService = companyBusinessService; this._config = new MapperConfiguration( cfg => { cfg.CreateMap <Company, BusinessService.Models.Company>().ReverseMap(); }); this._mapper = new Mapper(this._config); }
public CompanyController(ICompanyBusinessService companyBusinessService) { _companyBusinessService = companyBusinessService; }
public CompanyModelService(ICompanyBusinessService companyBusinessService) { _companyBusinessService = companyBusinessService; CreateMappings(); }