public static Blueprint AddBlueprintToDatabase(int userId)
 {
     var bp = BluePrintGenerator.Generate();
     var dto = new BluePrintRequestDtos.BluePrintAdd
     {
         City = bp.City,
         BluePrintName = bp.Name,
         Country = bp.Country,
         Region = bp.Region,
         State = bp.State,
         UserId = userId
     };
     var blp = BluePrintServices.CreateBluePrint(dto);
     Assert.IsNotNull(blp);
     bp.Id = blp.Id;
     return bp;
 }
 public void FindBluePrintsForRegionTest()
 {
     var testuser = DbDataGenerator.AddUserToDatabase();
     var testbp = DbDataGenerator.AddBlueprintToDatabase(testuser.Id);
     var dto = new BluePrintRequestDtos.BluePrintAdd
     {
         BluePrintName = RandomGenerator.String(5),
         City = testbp.City,
         Country = testbp.Country,
         Region = testbp.Region,
         State = testbp.State,
         UserId = testuser.Id
     };
     var bp = BluePrintServices.CreateBluePrint(dto);
     Assert.IsNotNull(bp);
     var bps = BluePrintServices.FindBluePrintsForRegion(testbp.Region);
     Assert.AreEqual(2, bps.Count());
 }