示例#1
0
        public IEnumerable <Messages> GetReceivedMessages(int userId)
        {
            IMessagesRepository             repo           = new MessagesRepository(getEntities());
            IEnumerable <Entities.Messages> returnedValue  = repo.GetReceivedMessages(userId);
            IEnumerable <Messages>          returnedValue2 = Mapper.Map <IEnumerable <Entities.Messages>, IEnumerable <Messages> >(returnedValue);

            return(returnedValue2);
        }