private ProfileAssessmentResponse(bool success, string message, ProfileTrainingView profileTrainingView) : base(success, message) { ProfileTrainingView = profileTrainingView; }
public async Task <IActionResult> AddOrUpdateProfileTrainingAsync([FromBody] ProfileTrainingView model) { var result = await _service.AddOrUpdateProfileTrainingAsync(model); return(Ok(result)); }
/// <summary> /// Creates a success response. /// </summary> /// <param name="profileTrainingView">skillAndInterestView view model.</param> /// <returns>Response.</returns> public ProfileAssessmentResponse(ProfileTrainingView profileTrainingView) : this(true, string.Empty, profileTrainingView) { }