public static void AddLocationIndustries(StudioDbContext context)
        {
            var locationId = CommandArrangeHelper.GetLocationId(context, null, null);
            var industryId = CommandArrangeHelper.GetIndustryId(context);

            var locationIndustry = new LocationIndustry {
                LocationId = locationId, IndustryId = industryId, Description = "Good!"
            };

            context.LocationIndustries.Add(locationIndustry);
            context.SaveChanges();
        }
        public static void AddEmployees(StudioDbContext context)
        {
            var industryId = CommandArrangeHelper.GetIndustryId(context);
            var serviceId  = CommandArrangeHelper.GetServiceId(context, industryId);
            var addressId  = CommandArrangeHelper.GetAddressId(context, null);
            var locationId = CommandArrangeHelper.GetLocationId(context, null, addressId);

            var employee = new Employee {
                Id = 1, FirstName = GConst.ValidName, LastName = GConst.ValidName, LocationId = locationId
            };

            context.Employees.Add(employee);
            var employeeService = new EmployeeService {
                ServiceId = serviceId, EmployeeId = employee.Id
            };

            context.EmployeeServices.Add(employeeService);
            context.SaveChanges();
        }
        public static void AddServices(StudioDbContext context)
        {
            var industryId = CommandArrangeHelper.GetIndustryId(context);

            var services = new List <Service>
            {
                new Service {
                    Id = 1, Name = "Hairstyle", IndustryId = industryId
                },
                new Service {
                    Id = 2, Name = "Colormade", IndustryId = industryId
                },
                new Service {
                    Id = 3, Name = "Massage", IndustryId = industryId
                }
            };

            context.Services.AddRange(services);
            context.SaveChanges();
        }