Exemplo n.º 1
0
        internal async Task <ActionResult> updateAccount(UserAccountsViewModel account)
        {
            _context.Entry(account).State = EntityState.Modified;
            await _context.SaveChangesAsync();

            return(Ok());
        }
        internal async Task <ActionResult> UpdateAccountCommissions(Account_Has_Commissions model)
        {
            _context.Entry(model).State = EntityState.Modified;
            await _context.SaveChangesAsync();

            return(Ok());
        }
Exemplo n.º 3
0
        internal async Task <ActionResult> UpdateCommission(CommissionsViewModel model)
        {
            _context.Entry(model).State = EntityState.Modified;
            await _context.SaveChangesAsync();

            return(Ok());
        }
Exemplo n.º 4
0
        internal async Task <IActionResult> UpdateUser(int id, UsersViewModel user)
        {
            _context.Entry(user).State = EntityState.Modified;
            await _context.SaveChangesAsync();

            return(Ok());
        }