Exemple #1
0
 private ProfileAssessmentResponse(bool success, string message, ProfileTrainingView profileTrainingView) : base(success, message)
 {
     ProfileTrainingView = profileTrainingView;
 }
Exemple #2
0
        public async Task <IActionResult> AddOrUpdateProfileTrainingAsync([FromBody] ProfileTrainingView model)
        {
            var result = await _service.AddOrUpdateProfileTrainingAsync(model);

            return(Ok(result));
        }
Exemple #3
0
 /// <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)
 {
 }