public ServiceHome(IRepoUserOrder repository, IRepoStoreLocation repoStoreLocation , IRepoUserOrderItem repoUserOrderItem, IRepoStoreItem repoStoreItem , IRepoUserInfo repoUserInfo) { _repoUserOrder = repository; _repoStoreLocation = repoStoreLocation; _repoUserOrderItem = repoUserOrderItem; _repoStoreItem = repoStoreItem; _repoUserInfo = repoUserInfo; }
public HomeController(ILogger <HomeController> logger , IRepoUserOrder repository, IRepoStoreLocation repoStoreLocation , IRepoUserOrderItem repoUserOrderItem, IRepoStoreItem repoStoreItem , IServiceHome serviceHome) { _logger = logger; _repoUserOrder = repository; _repoStoreLocation = repoStoreLocation; _repoUserOrderItem = repoUserOrderItem; _repoStoreItem = repoStoreItem; _serviceHome = serviceHome; }