Exemple #1
0
        public async Task <JsonResult> Delete(int id)
        {
            bool result = await artRepository.CambiarEstado(id);

            var response = new
            {
                success = true,
                message = "El producto a sido Actualizado"
            };

            return(Json(response));
        }