public void AddCategory(string name, string userId) { ExpenseCategory category = new ExpenseCategory() { Name = name, DateCreated = DateTime.Now, AppUserId = userId }; _expenseCategoryRepository.Insert(category); }
public void AddCategory(string name, string userId) { ExpenseCategory category = new ExpenseCategory() { Name = name, DateCreated = DateTime.Now, AppUserId = userId }; _expenseCategoryRepository.Insert(category); }