public bool CanShareWithUser(int shareWithId, int userId) { if (shareWithId == userId) { return(false); } return(_recipesRepository.CanShareWithUser(shareWithId, userId)); }