コード例 #1
0
        public async Task <ActionResult <ReportUserSalaryFullView> > UpdateEventSalaryInfo(
            string reportId,
            [FromBody] ReportUserSalaryEdit info)
        {
            var salary  = mapper.Map <ReportUserSalary>(info);
            var updated = await reportSalaryContext.UpdateReportUserSalary(reportId, salary, UserId).ConfigureAwait(false);

            return(Ok(mapper.Map <ReportUserSalaryFullView>(updated)));
        }