Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class ProductFromSql
- {
- public string idEshop { get; set; }
- public string active { get; set; }
- public string code { get; set; }
- public string amount { get; set; }
- public string description { get; set; }
- }
- public class ProductFromApi
- {
- public string id { get; set; }
- public string active { get; set; }
- public string code { get; set; }
- public string amount { get; set; }
- public string description { get; set; }
- public string createDate { get; set; }
- public string updated_at { get; set; }
- public string man_code { get; set; }
- }
- ...public static void NotEquals()
- {
- var listofGenres = new List<string> { "action", "comedy" };
- var productFromSqls = new List<ProductFromSql> {new ProductFromSql {idEshop="1", active="0",code="2dw",amount="22",description="testowy opis"},
- new ProductFromSql {idEshop="2", active="1",code="kk34",amount="11",description="testowy opis 2"},
- new ProductFromSql {idEshop="3", active="0",code="2323",amount="22",description="testowy opis 3"} };
- var productFromApis = new List<ProductFromApi> {new ProductFromApi {id="1", active="1",code="2dw",amount="22",description="testowy opis",createDate="20180312",updated_at="20170419",man_code="AA2"},
- new ProductFromApi {id="2", active="1",code="kk34",amount="33",description="testowy opis 2",createDate="20180322",updated_at="20170412",man_code="AA4"},
- new ProductFromApi {id="3", active="0",code="2323",amount="22",description="testowy opis 3",createDate="20180311",updated_at="20170402",man_code="BA4"}};
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement