поручитель ошибки

This commit is contained in:
antoc0der 2024-04-30 11:28:41 +04:00
parent 4b15da7812
commit 6cee54fb4a
6 changed files with 5 additions and 36 deletions

View File

@ -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<int, IMedicationModel> DrugMedications { get; }
}
}

View File

@ -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<int, IMedicationModel> ServiceMedications { get; }
}
}

View File

@ -11,6 +11,6 @@ namespace VeterinaryDataModels.Models
string DrugName { get; }
int Count { get; }
double Price { get; }
Dictionary<int, (IMedicationModel, int)> DrugMedications { get; }
Dictionary<int, IMedicationModel> DrugMedications { get; }
}
}

View File

@ -11,7 +11,7 @@ namespace VeterinaryDataModels.Models
string ServiceName { get; }
int VisitId { get; }
int DoctorId { get; }
Dictionary<int, (IMedicationModel, int)> ServiceMedications { get; }
Dictionary<int, IMedicationModel> ServiceMedications { get; }
}
}

View File

@ -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;

View File

@ -3,6 +3,8 @@ using System.Diagnostics;
using VeterinaryContracts.BindingModels;
using VeterinaryContracts.ViewModels;
using VeterinaryShowOwnerApp.Models;
using VeterinaryShowOwnerApp;
namespace VeterinaryShowOwnerApp.Controllers
{