示例#1
0
        public async Task <IActionResult> AddExhibitorToClass(AddClassExhibitor addClassExhibitor)
        {
            string actionBy = User.Identity.Name;

            _mainResponse = await _classService.AddExhibitorToClass(addClassExhibitor, actionBy);

            _jsonString = Mapper.Convert <BaseResponse>(_mainResponse);
            return(new OkObjectResult(_jsonString));
        }