コード例 #1
0
        public IActionResult EliminarRelacionContacto(int idRelacion)
        {
            try
            {
                contactoService.EliminarRelacion(idRelacion);
                return(Json(new { success = true }));
            }
            catch (Exception ex)
            {
                AltivaLog.Log.Insertar(ex.ToString(), "Error");
                return(BadRequest());

                throw;
            }
        }