Exemple #1
0
        public async Task <string> AddUpdateCategory(CategoryVM categoryVM)
        {
            CategoryDomainModel categoryDM = new CategoryDomainModel();

            AutoMapper.Mapper.Map(categoryVM, categoryDM);
            return(await categoryBusiness.AddUpdateCategory(categoryDM));
        }