public async Task <MessageModelView> Get(object id, IEntityBuilder <Message, MessageModelView> builder)
        {
            builder.ConfigureBuilder(_context);

            return(await builder.GetModelView(id));
        }
Beispiel #2
0
        public async Task <UserModelView> Get(object Id, IEntityBuilder <User, UserModelView> builder)
        {
            builder.ConfigureBuilder(_context, _environment);

            return(await builder.GetModelView(Id));
        }
        public async Task <InviteModelView> Get(object Id, IEntityBuilder <Invite, InviteModelView> builder)
        {
            builder.ConfigureBuilder(_context);

            return(await builder.GetModelView(Id));
        }