diff --git a/VeterinaryView/VeterinaryDataModels/IDrugModel.cs b/VeterinaryView/VeterinaryDataModels/IDrugModel.cs deleted file mode 100644 index f41989d..0000000 --- a/VeterinaryView/VeterinaryDataModels/IDrugModel.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace VeterinaryDataModels -{ - public interface IDrugModel :IId - { - string DrugName { get; } - int Count { get; } - double Price { get; } - Dictionary DrugMedications { get; } - } -} diff --git a/VeterinaryView/VeterinaryDataModels/IServiceModel.cs b/VeterinaryView/VeterinaryDataModels/IServiceModel.cs deleted file mode 100644 index 743cb2e..0000000 --- a/VeterinaryView/VeterinaryDataModels/IServiceModel.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace VeterinaryDataModels -{ - public interface IServiceModel : IId - { - String ServiceName { get;} - int VisitId { get; } - int DoctorId { get; } - Dictionary ServiceMedications { get; } - - } -} diff --git a/VeterinaryView/VeterinaryDataModels/Models/IDrugModel.cs b/VeterinaryView/VeterinaryDataModels/Models/IDrugModel.cs index 5ba6bd0..6579c66 100644 --- a/VeterinaryView/VeterinaryDataModels/Models/IDrugModel.cs +++ b/VeterinaryView/VeterinaryDataModels/Models/IDrugModel.cs @@ -11,6 +11,6 @@ namespace VeterinaryDataModels.Models string DrugName { get; } int Count { get; } double Price { get; } - Dictionary DrugMedications { get; } + Dictionary DrugMedications { get; } } } diff --git a/VeterinaryView/VeterinaryDataModels/Models/IServiceModel.cs b/VeterinaryView/VeterinaryDataModels/Models/IServiceModel.cs index 75903a2..ac199cf 100644 --- a/VeterinaryView/VeterinaryDataModels/Models/IServiceModel.cs +++ b/VeterinaryView/VeterinaryDataModels/Models/IServiceModel.cs @@ -11,7 +11,7 @@ namespace VeterinaryDataModels.Models string ServiceName { get; } int VisitId { get; } int DoctorId { get; } - Dictionary ServiceMedications { get; } + Dictionary ServiceMedications { get; } } } diff --git a/VeterinaryView/VeterinaryShowDoctorApp/Controllers/HomeController.cs b/VeterinaryView/VeterinaryShowDoctorApp/Controllers/HomeController.cs index 4eb35bc..caec887 100644 --- a/VeterinaryView/VeterinaryShowDoctorApp/Controllers/HomeController.cs +++ b/VeterinaryView/VeterinaryShowDoctorApp/Controllers/HomeController.cs @@ -4,7 +4,7 @@ using VeterinaryShowDoctorApp.Models; using VeterinaryContracts.ViewModels; using VeterinaryContracts.BindingModels; using System.Text; -using VeterinaryDataModels; +using VeterinaryDataModels.Models; using VeterinaryContracts.SearchModels; using VeterinaryContracts.StorageContracts; diff --git a/VeterinaryView/VeterinaryShowOwnerApp/Controllers/HomeController.cs b/VeterinaryView/VeterinaryShowOwnerApp/Controllers/HomeController.cs index c994250..85489f8 100644 --- a/VeterinaryView/VeterinaryShowOwnerApp/Controllers/HomeController.cs +++ b/VeterinaryView/VeterinaryShowOwnerApp/Controllers/HomeController.cs @@ -3,6 +3,8 @@ using System.Diagnostics; using VeterinaryContracts.BindingModels; using VeterinaryContracts.ViewModels; using VeterinaryShowOwnerApp.Models; +using VeterinaryShowOwnerApp; + namespace VeterinaryShowOwnerApp.Controllers {