public static void Initialize(IBarberShopStorage storage) { if (storage.Masters.Get().Any()) { return; } storage.Masters.Add( new Entities.Master { FullName = "Кирилов Виктор Сергеевич", Phone = "89234163110", PercentForTheService = 50, Email = "" } ); storage.Save(); }
public UserService(IBarberShopStorage storage) { _storage = storage; }
public VisitService(IBarberShopStorage storage) { _storage = storage; }
public MasterServiceServices(IBarberShopStorage storage) { _storage = storage; }
public ClientService(IBarberShopStorage storage) { _storage = storage; }