Начала бизнесс логику
This commit is contained in:
parent
c5c0273831
commit
00ed5959f0
@ -6,7 +6,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace HospitalContracts.BindingModels
|
||||
{
|
||||
public class DescriptionProcedureBildingModel
|
||||
public class DescriptionProcedureBindingModel
|
||||
{
|
||||
}
|
||||
}
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace HospitalContracts.BindingModels
|
||||
{
|
||||
public class PharmacistBildingModel : IPharmacistModel
|
||||
public class PharmacistBindingModel : IPharmacistModel
|
||||
{
|
||||
public string FIO { get; set; } = string.Empty;
|
||||
public string Login { get; set; } = string.Empty;
|
@ -0,0 +1,20 @@
|
||||
using HospitalContracts.BindingModels;
|
||||
using HospitalContracts.ViewModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using HospitalContracts.SearchModels;
|
||||
|
||||
namespace HospitalContracts.BusinessLogicContracts
|
||||
{
|
||||
public interface IPharmacistLogic
|
||||
{
|
||||
List<PharmacistViewModel>? ReadList(PharmacistSearchModel? model);
|
||||
PharmacistViewModel? ReadElement(PharmacistSearchModel model);
|
||||
bool Create(PharmacistBindingModel model);
|
||||
bool Update(PharmacistBindingModel model);
|
||||
bool Delete(PharmacistBindingModel model);
|
||||
}
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using HospitalContracts.BindingModels;
|
||||
using HospitalContracts.SearchModels;
|
||||
using HospitalContracts.ViewModels;
|
||||
|
||||
namespace HospitalContracts.SearchModels
|
||||
{
|
||||
public class PharmacistSearchModel
|
||||
{
|
||||
public int? Id { get; set; }
|
||||
public string? FIO { get; set; } = string.Empty;
|
||||
public string? Login { get; set; } = string.Empty;
|
||||
public string? Password { get; set; } = string.Empty;
|
||||
public string? PhoneNumber { get; set; }
|
||||
}
|
||||
}
|
@ -6,7 +6,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace HospitalContracts.ViewModels
|
||||
{
|
||||
internal class PharmacistViewModel
|
||||
public class PharmacistViewModel
|
||||
{
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user