public string GetFullUserName(int userId) { User user = _userRepo.Single(x => x.Id == userId); return(user.FirstName + " " + user.LastName); }
public UserNote GetUserNote(int userNoteId) { return(_userNoteRepo.Single(x => x.UserNoteId == userNoteId)); }