/// <summary>
 /// controller method calls database delete methods as well as controls the system message
 /// </summary>
 public string DeletePolicy(int id)
 {
     string returnMessage = "";
     DataBaseController controller = new DataBaseController();
     returnMessage = controller.DeletePolicy(id);
     return returnMessage;
 }
 /// <summary>
 /// controller method calls database modifcation methods as well as controls the system message
 /// </summary>
 public string ModifyPolicy(int id, string Name, TypeOfVehicle TypeOfVehicle, PolicyType PolicyType, AgeRange AgeRange)
 {
     string returnMessage = "";
     DataBaseController controller = new DataBaseController();
     policy.Name = Name;
     policy.TypeOfVechile = TypeOfVehicle;
     policy.PolicyType = PolicyType;
     policy.AgeRange = AgeRange;
     returnMessage = controller.ModifyPolicy(policy, id);
     return returnMessage;
 }
 /// <summary>
 /// controller method calls database write new policy methods as well as controls the system messages
 /// </summary>
 public string CreateNewPolicy(string Name, TypeOfVehicle TypeOfVehicle, PolicyType PolicyType, AgeRange AgeRange)
 {
     string returnMessage = "";
     DataBaseController controller = new DataBaseController();
     policy.Name = Name;
     policy.TypeOfVechile = TypeOfVehicle;
     policy.PolicyType = PolicyType;
     policy.AgeRange = AgeRange;
     policy.CalculatePrice();
     returnMessage = controller.CreatePolicy(policy);
     return returnMessage;
 }