public KatushaGenderNotExistsException(BaseFriendlyModel profile) : base("GenderNotExists", "Must be male or female sorry!!!", null) { Profile = profile; }
public KatushaFriendlyNameExistsException(BaseFriendlyModel profile) : base("FriendlyNameExists", null) { Profile = profile; }
public static string KeyFor <TModel>(this HtmlHelper <TModel> htmlHelper, BaseFriendlyModel model) { return((String.IsNullOrEmpty(model.FriendlyName)) ? model.Guid.ToString() : model.FriendlyName); }