[Authorize] [HttpPost("UpdateRegistration")] public async Task<IActionResult> UpdateRegistration(CUserDetails userDetails) {...}
public class CUserDetails { #region CONSTRUCTORS /// <summary> /// Primary constructor /// </summary> /// <param name="arg_person">The details of the person to register</param> /// <param name="arg_username">the username to be assigned when creating the user</param> public CUserDetails(CPersonMasterBase arg_person, string arg_username) { this.person = arg_person; this.username = arg_username; } #endregion #region PUBLIC METHODS public string GetUsername() { return username; } public CPersonMasterBase GetPerson() { return person; } #endregion #region PUBLIC PROPERTIES public string username { get; set; } public CPersonMasterBase person { get; set; } #endregion } }
[Route("CMDS/[Controller]")] [ApiController] public class DistributeController : ControllerBase
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)