Esempio n. 1
0
        public async Task <IActionResult> DeleteItem(DeleteItemVM model)
        {
            var dtoModel = mapper.Map <DeleteItemModel>(model);
            var result   = await itemsManager.DeleteAsync(dtoModel);

            return(Json(result));
        }