예제 #1
0
        public void AddCategoryWithoutSaveChanges(string name, string userId)
        {
            ExpenseCategory category = new ExpenseCategory()
            {
                Name        = name,
                DateCreated = DateTime.Now,
                AppUserId   = userId
            };

            _expenseCategoryRepository.InsertWithoutSaveChanges(category);
        }