public Task<StatusData<string>> AcceptSkill(SkillAcceptanceRequest request, SystemSession session) { return _jUnitOfWork.ProfilePersonal.AcceptSkill(request, session); }
public async Task<StatusData<string>> AcceptSkill(SkillAcceptanceRequest request, SystemSession session) { var serviceRequest = new Kauwa.Skill { Accept = request.IsAccepted, UserIdOrName = session.UserName, Suggestor = request.Suggestor, Text = string.Join(",", request.Skills) }; var response = (await Task.Factory.StartNew(() => Client.UserService.acceptSkill(serviceRequest, session.GetSession())).ConfigureAwait(false)).GetStatusData<string>(); return response; }