Skip to content

Commit

Permalink
Twilio http (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesBock authored May 20, 2021
1 parent 5e9a125 commit 5b92ea3
Show file tree
Hide file tree
Showing 21 changed files with 1,341 additions and 99 deletions.
1 change: 0 additions & 1 deletion TenantFile/Api.UnitTests/SmsControllerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Specialized;
using Twilio.AspNet.Common;
using System.Collections.Generic;
using Microsoft.Extensions.Configuration;

Expand Down
21 changes: 21 additions & 0 deletions TenantFile/Api/Common/FlowPath.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;

namespace TenantFile.Api.Common
{

[DataContract]
[JsonConverter(typeof(StringEnumConverter))]
public enum FlowPath
{
[EnumMember(Value = "wrr")]
WrittenRepairRequest,

[EnumMember(Value = "noImg")]
NoImage,

[EnumMember(Value = "img")]
Image,
}
}
321 changes: 256 additions & 65 deletions TenantFile/Api/Controllers/SmsController.cs

Large diffs are not rendered by default.

Loading

0 comments on commit 5b92ea3

Please sign in to comment.