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

            _expenseCategoryRepository.Insert(category);
        }