/// <summary>
 /// Create servive areas from a (json) file
 /// </summary>
 /// <param name="context"></param>
 /// <param name="districtJsonPath"></param>
 public static void AddInitialServiceAreasFromFile(this IDbAppContext context, string districtJsonPath)
 {
     if (!string.IsNullOrEmpty(districtJsonPath) && File.Exists(districtJsonPath))
     {
         string serviceAreaJson = File.ReadAllText(districtJsonPath);
         context.AddInitialServiceAreas(serviceAreaJson);
     }
 }
        private static void AddInitialServiceAreas(this IDbAppContext context, string serviceAreaJson)
        {
            List <ServiceArea> serviceAreas = JsonConvert.DeserializeObject <List <ServiceArea> >(serviceAreaJson);

            if (serviceAreas != null)
            {
                context.AddInitialServiceAreas(serviceAreas);
            }
        }