Added model and started working on endpoint
Working on endpoint to create contacts using a file
This commit is contained in:
@@ -26,6 +26,8 @@ public class ContactQueueCreationController : ControllerBase
|
||||
public IActionResult Upload([FromForm(Name = "file")] List<IFormFile> contactFile,
|
||||
[FromForm(Name = "user_id")] string userID)
|
||||
{
|
||||
// TODO: Save the file on the filesystem to be processed by a separate
|
||||
// system
|
||||
return Ok();
|
||||
}
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user