public static string TipsterDomainTypeToString(DomainType tipsterDomainType) { return(tipsterDomainType == DomainType.Custom ? "Pełny adres" : tipsterDomainType.ConvertToString()); }
public virtual DbLogin WebsiteLogin(DomainType domain) { var domainStr = domain.ConvertToString().ToLower(); return(_db.Websites.Include(w => w.Login).Single(w => w.Address == domainStr).Login); }