2e2
This commit is contained in:
parent
5779ce853d
commit
552c53789f
@ -152,6 +152,7 @@ namespace asg_form.Controllers.Teamregistration
|
|||||||
approvalTime = form.approval_time,
|
approvalTime = form.approval_time,
|
||||||
status = form.status
|
status = form.status
|
||||||
};
|
};
|
||||||
|
await sub.SaveChangesAsync();
|
||||||
return Ok(result);
|
return Ok(result);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -209,7 +210,7 @@ namespace asg_form.Controllers.Teamregistration
|
|||||||
|
|
||||||
var result = await query.ToListAsync();
|
var result = await query.ToListAsync();
|
||||||
|
|
||||||
return Ok(new { messages = result });
|
return Ok(new { code=200,data = result });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user