Example #1
0
        public Ecole GetEcole()
        {
            Ecole ecole = ecoleRepo.Get();

            if (ecole != null)
            {
                if (!string.IsNullOrEmpty(ecole.Logo))
                {
                    ecole.Logo = Path.Combine(dbFolder, "logo", ecole.Logo);
                }
            }
            return(ecole);
        }
Example #2
0
        public Ecole GetEcole()
        {
            Ecole ecole = ecoleRepo.Get();

            if (ecole != null)
            {
                if (!string.IsNullOrEmpty(ecole.Logo.ToString()))
                {
                    ecole.Logo = new byte[] { Byte.Parse(Path.Combine(dbFolder, "logo", ecole.Logo.ToString())) }
                }
            }
            ;
            return(ecole);
        }