public Admin GetAdminById(Guid userId) { return(Admins .Include(u => u.Role) .Include(u => u.Licensees) .Include(u => u.AllowedBrands) .Include(u => u.BrandFilterSelections) .Include(u => u.Currencies) .SingleOrDefault(u => u.Id == userId)); }
public Admin GetAdminById(Guid userId) { return(Admins .Include(u => u.Role) .Include(u => u.Licensees) .Include(u => u.AllowedBrands) .Include(u => u.BrandFilterSelections) .Include(u => u.Currencies) .SingleOrDefault(u => u.Id == userId)); }