исправлени, наконец то 4 работает, УРААААА

This commit is contained in:
2025-04-08 14:09:53 +04:00
parent 400faf460a
commit 135619e512
9 changed files with 12 additions and 29 deletions

View File

@@ -10,9 +10,9 @@ using System.Threading.Tasks;
namespace MagicCarpetContracts.DataModels;
public class PostDataModel(string id, string postName, PostType postType, double salary) : IValidation
public class PostDataModel(string postId, string postName, PostType postType, double salary) : IValidation
{
public string Id { get; private set; } = id;
public string Id { get; private set; } = postId;
public string PostName { get; private set; } = postName;
public PostType PostType { get; private set; } = postType;
public double Salary { get; private set; } = salary;