private CategoryDO CreateCategory(ProjectDO project, string name)
        {
            var category1 = new CategoryDO
            {
                ProjectId = project.ProjectId,
                Name      = name
            };

            _categoryDao.Create(category1);
            return(category1);
        }
Ejemplo n.º 2
0
 public CategoryDO CreateCategory(CategoryDO category)
 {
     return(categoryDAO.Create(category));
 }