コード例 #1
0
        public async Task <ActionResult> BlockInstitution(int id)
        {
            var result = await _institutionService.BlockInstitution(id);

            if (result.Errors != null)
            {
                return(BadRequest(result.Errors));
            }

            return(Ok(result.Data));
        }