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); }
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); }