public async Task<int> RemoveNote(T obj) { Note note = _mapper.Map<Note>(obj); return await _repository.RemoveNote(note); }