コード例 #1
0
        public async Task <ActionResult> Delete([FromRoute] int jobApplicationId)
        {
            bool found = await _jobApplicationService.DeleteAsync(jobApplicationId);

            if (!found)
            {
                return(StatusCode(404));
            }
            return(StatusCode(204));
        }