예제 #1
0
        public (bool canSend, bool alreadySent) CheckSendRequest(int recipeId, int sendToId, int userId)
        {
            if (sendToId == userId)
            {
                return(false, false);
            }

            return(_recipesRepository.CheckSendRequest(recipeId, sendToId, userId));
        }