public async Task <ActionResult <Models.SystemUser> > PostSystemUser(Models.SystemUser systemUser)
        {
            _context.SystemUsers.Add(systemUser);
            await _context.SaveChangesAsync();

            return(CreatedAtAction("GetSystemUser", new { id = systemUser.sSystemUserId }, systemUser));
        }
        public async Task <IActionResult> PutSystemUser(short id, Models.SystemUser systemUser)
        {
            if (id != systemUser.sSystemUserId)
            {
                return(BadRequest());
            }

            _context.Entry(systemUser).State = EntityState.Modified;

            try
            {
                Ok(await _context.SaveChangesAsync());
            }
            catch (DbUpdateConcurrencyException)
            {
                if (!SystemUserExists(id))
                {
                    return(NotFound());
                }
                else
                {
                    throw;
                }
            }

            return(NoContent());
        }