예제 #1
0
        public int FindOwner(int id)
        {
            var dbUser = _noteRepository.FindOwner(id);

            if (dbUser != null)
            {
                return(dbUser.ID);
            }
            else
            {
                return(0);
            }
        }