Example #1
0
        public async Task <ActionResult> Delete(int id)
        {
            await DeleteImage(id);

            await _marcaService.DeleteMarca(id);

            return(NoContent());
        }
Example #2
0
        public async Task <IActionResult> DeleteMarca(int id)
        {
            await _marcaService.DeleteMarca(id);

            return(Ok());
        }
 private void DeleteMarca()
 {
     mservice.DeleteMarca(m);
     ClearFields();
     FillDataGridViewMarca();
 }