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