Esempio n. 1
0
        /// <summary>
        /// Gets the industry edit view.
        /// </summary>
        /// <param name="industryId">The industry identifier.</param>
        /// <returns></returns>
        public IIndustryView GetIndustryEditView(int industryId)
        {
            var industryInfo = industryRepository.GetIndustryById(industryId);

            var viewModel = industryViewModelFactory.EditIndustryView(industryInfo);

            return(viewModel);
        }