PIbd-21. Razubaev SM Lab work 8 hard #17

Closed
Sergey wants to merge 10 commits from lab_8_hard into lab_7_hard
4 changed files with 7 additions and 7 deletions
Showing only changes of commit 3e5221a9d1 - Show all commits

View File

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

View File

@ -4,8 +4,8 @@ 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,8 +9,8 @@ using System.Runtime.Serialization;
namespace PlumbingRepairDatabaseImplement.Models
{
[DataContract]
public class Shop
{
public class Shop : IShopModel
{
[DataMember]
public int Id { get; set; }