コード例 #1
0
        public async Task <IActionResult> Delete(int id)
        {
            await _stuffService.Remove(id.ToString());

            return(new NoContentResult());
        }
コード例 #2
0
 public bool Delete(int deletedStuffId)
 {
     return(_stuffRepository.Remove(deletedStuffId));
 }
コード例 #3
0
        public async Task DeleteStuffItem()
        {
            await AddStuffItem();

            await _service.Remove("1");
        }