|
|
|
@ -37,7 +37,7 @@ public class Ghre_SurveyQuestionPoolController : BaseController<IGhre_SurveyQues |
|
|
|
|
/// <param name="insertModel"></param> |
|
|
|
|
/// <returns></returns> |
|
|
|
|
[HttpPost("InsertFrom")] |
|
|
|
|
public async Task<ServiceResult> InsertFrom([FromBody] InsertGhre_SurveyQuestionExtend insertModel) |
|
|
|
|
public async Task<ServiceResult> InsertFrom([FromBody] FromGhre_SurveyQuestionPoolPageData insertModel) |
|
|
|
|
{ |
|
|
|
|
return await _service.InsertFrom(insertModel); |
|
|
|
|
} |
|
|
|
@ -52,7 +52,7 @@ public class Ghre_SurveyQuestionPoolController : BaseController<IGhre_SurveyQues |
|
|
|
|
/// <returns></returns> |
|
|
|
|
|
|
|
|
|
[HttpPost("UpdateFrom/{Id}")] |
|
|
|
|
public async Task<ServiceResult> UpdateFrom(long Id, [FromBody] InsertGhre_SurveyQuestionExtend editModel) |
|
|
|
|
public async Task<ServiceResult> UpdateFrom(long Id, [FromBody] FromGhre_SurveyQuestionPoolPageData editModel) |
|
|
|
|
{ |
|
|
|
|
return await _service.UpdateFrom(Id, editModel); |
|
|
|
|
} |
|
|
|
|