public Task<StatusData<string>> UpdateEducationHistory(UpdateAcademicRequest request, SystemSession session)
 {
     return _jUnitOfWork.ProfilePersonal.UpdateEducationHistory(request, session);
 }
        public async Task<StatusData<string>> UpdateEducationHistory(UpdateAcademicRequest request, SystemSession session)
        {
            var serviceRequest = new UserAcademics
            {
                UserId = session.UserId,
                Mode = (byte)SystemDbStatus.Updated,
                DisplayOrderId = 0,
                AcademicInstitute = request.AcademicInstitute,
                City = new City { CityId = request.CityId > 0 ? request.CityId : 0 },
                JoinedYear = request.JoinedYear.ToString(),
                GraduatedYear = request.GraduatedYear.ToString(),
                HasGraduated = request.HasGraduated,
                Degree = null,
                Concentration = new Concentration { ConcentrationName = request.Concentration },
                AcademicId = (int)request.AcademicId,
                UserIdOrName = session.UserName
            };
            var response = await Task.Factory.StartNew(() => Client.UserService.upsertAcademic(serviceRequest, session.GetSession())).ConfigureAwait(false);

            var result = new StatusData<string> { Status = (SystemDbStatus)response.DbStatus.DbStatusCode, Message = response.DbStatus.DbStatusMsg, SubStatus = response.DbStatus.DbSubStatusCode };

            return result;
        }