コード例 #1
0
        public async Task <ActionResult> Post(Status status)
        {
            // Create the new Guid on the server side to prevent client side "hacking"...
            status.IdStatus = Guid.NewGuid();
            await statusRepository.CreateStatus(status);

            return(Created(string.Empty, status));
        }