This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BusinessLogic | |
{ | |
public CompanyDTO CompanyDto { get; set; } | |
public CompanyDM CompanyDm { get; set; } | |
public BusinessLogic(CompanyDTO dto, CompanyDM dm) | |
{ | |
CompanyDto = dto; | |
CompanyDm = dm; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CompanyDM | |
{ | |
public int ID { get; set; } | |
public string CompanyName { get; set; } | |
public string ContactPersonName { get; set; } | |
public string ContactPersonEmail { get; set; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BusinessLogic | |
{ | |
public CompanyDTO CompanyDto { get; set; } | |
public CompanyDM CompanyDm { get; set; } | |
public BusinessLogic(CompanyDTO dto, CompanyDM dm) | |
{ | |
CompanyDto = dto; | |
CompanyDm = dm; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<appSettings> | |
<add key="Billogram.AuthUser" value="5588-000000" /> | |
<add key="Billogram.AuthKey" value="7000552121211a8cfa16fe67693" /> | |
<add key="Billogram.BaseUrl" value="https://sandbox.billogram.com/api/v2/" /> | |
</appSettings> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Utility | |
{ | |
........... | |
public string BillogramId = "PAsE6WY"; | |
........... | |
public async Task SendBillogram() | |
{ | |
await _billogramUtility.SendBillogram(BillogramId); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Utility | |
{ | |
............ | |
public string billogramState ="unattested"; | |
public async Task<List<BillogramStructure>> GetBillogramsByState() | |
{ | |
List<BillogramStructure> billograms = _billogramUtility.GetBillogramsByState(billogramState).Result; | |
return billograms; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public asyn Task<BillogramStructure> CreateBillogram() | |
{ | |
BillogramHelper billogramHelper = new BillogramHelper() | |
{ | |
CustomerStructure = new CustomerStructure() | |
{ | |
CustomerNo = CustomerNo | |
}, | |
Subscriptions = new BillogramItems() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void CreateCustomer() | |
{ | |
var model = new CustomerStructure() | |
{ | |
CustomerNo = 2, | |
CustomerName = "Some name", | |
CustomerCompanyType = "individual", | |
CustomerOrganizationNo = "", | |
CustomerVatNo = "", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Utility | |
{ | |
private string _clientSecretUser; | |
private string _clientSecretKey; | |
private string _baseUrl; | |
private BillogramUtility _billogramUtility; | |
............. | |
public void Initialize() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<body> | |
<h1> | |
This is a rendered template example. | |
</h1> | |
<div> | |
This example is ridiculous. | |
</div> | |
</body> |
NewerOlder