static void CreateNewTask() { todosRepository.Create(new ToDoItem { Name = "Some name", Description = "Some description", Start = DateTime.Now, End = new DateTime(2021, 05, 01), Priority = Models.Database.Entity.TodoPriority.Low }); }
internal Todo Create(Todo todo) { return(_todoRepo.Create(todo)); }
//CREATE****************************** internal Todo Create(Todo newTodos) { return(_repo.Create(newTodos)); }