public async Task <IActionResult> DeleteOneByIdAsync(
            [FromRoute] int id
            )
        {
            try
            {
                var item = await _resourceService.DeleteOneByIdAsync(id);

                return(Ok(item));
            }
            catch (Exception e)
            {
                return(HttpExceptionMapper.ToHttpActionResult(e));
            }
        }