Ejemplo n.º 1
0
        /// <summary>
        /// Creates the category
        /// </summary>
        private void CreateCategory()
        {
            Category category = new Category();

            CMapper.MapDTO(category, Dto, UnitOfWork);
            UnitOfWork.CategoryRepository.Create(category);
        }