public CategoryVideo Update(UpdateCategoryVideoCommand command) { var category = _repository.GetById(command.IdCategoryVideo); category.Update(command); _repository.Update(category); if (Commit()) { return(category); } return(null); }
public void Update(CategoryVideo model) { _categoryVideoRepository.Update(model); }