public Task<StatusData<string>> UpsertSkill(SkillRequest request, SystemSession session) { return _jUnitOfWork.ProfilePersonal.UpsertSkill(request, session); }
public async Task<StatusData<string>> UpsertSkill(SkillRequest request, SystemSession session) { var serviceRequest = new Kauwa.Skill { UserId = session.UserId, Text = string.Join(",", request.Skills), UserIdOrName = session.UserName // ProfileUserId = request.ProfileUserId, }; var response = (await Task.Factory.StartNew(() => Client.UserService.upsertSkill(serviceRequest, session.GetSession())).ConfigureAwait(false)).GetStatusData<string>(); return response; }