секрте

This commit is contained in:
sardq 2024-06-17 21:27:15 +04:00
parent 188d246b30
commit 3e5221a9d1
4 changed files with 7 additions and 7 deletions

View File

@ -8,7 +8,7 @@ using System.Threading.Tasks;
namespace PlumbingRepairContracts.BindingModels
{
public class ShopBindingModel
public class ShopBindingModel : IShopModel
{
public int Id { get; set; }

View File

@ -4,7 +4,7 @@ using System.ComponentModel;
namespace PlumbingRepairContracts.ViewModels
{
public class ShopViewModel
public class ShopViewModel : IShopModel
{
[Column(visible: false)]
public int Id { get; set; }

View File

@ -1,6 +1,6 @@
namespace PlumbingRepairDataModels.Models
{
public class IShopModel
public interface IShopModel: IId
{
string ShopName { get; }

View File

@ -9,7 +9,7 @@ using System.Runtime.Serialization;
namespace PlumbingRepairDatabaseImplement.Models
{
[DataContract]
public class Shop
public class Shop : IShopModel
{
[DataMember]
public int Id { get; set; }