コード例 #1
0
        public ActionResult <IEnumerable <ProjectReadDto> > GetUserProjects(int id, [FromBody] ProjectsPayload payload)
        {
            var list = _repository.GetUserProjects(id, payload.Filter.FilterValue, payload.Filter.Role, payload.Filter.IsClosed, payload.Filter.GuildId, payload.Pagination);

            return(Ok(_mapper.Map <IEnumerable <ProjectReadDto> >(list)));
        }