Example #1
0
 public static string TipsterDomainTypeToString(DomainType tipsterDomainType)
 {
     return(tipsterDomainType == DomainType.Custom
         ? "Pełny adres" : tipsterDomainType.ConvertToString());
 }
Example #2
0
        public virtual DbLogin WebsiteLogin(DomainType domain)
        {
            var domainStr = domain.ConvertToString().ToLower();

            return(_db.Websites.Include(w => w.Login).Single(w => w.Address == domainStr).Login);
        }