Exemple #1
0
        public static GetBadgesRequest AsRequest(this GetBadgesWebRequest webRequest)
        {
            var result = new GetBadgesRequest
            {
            };

            return(result);
        }
        public async Task <IActionResult> GetBadgesAsync([FromQuery] GetBadgesWebRequest request)
        {
            var result = await this.badgeService.GetBadges(request.AsRequest());

            return(this.CreateResponse(result.AsWebResponse()));
        }