Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Remote attribute in model
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace TestAspNetMvcNet.Models
{
public class Livre
{
[Remote("ValiderPrix", "Price")]
public decimal Prix { get; set; }
[Remote("Valid", "Laser")]
public int PistoLaser { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.