/// <summary>
        /// Adds job title to an employee
        /// </summary>
        /// <param name="name">Job title name</param>
        /// <param name="user">user</param>
        public void AddJobTitle(string name, ClaimsPrincipal user)
        {
            if (!jobTitleDataService.Exists(name))
            {
                jobTitleDataService.CreateJobTitile(name.ToString());

                var companyId = jobTitleDataService.FindByName(name).Id;

                var addJobTitleToEmployeServiceModel = new AddJobTitleToEmployeServiceModel()
                {
                    EmployeeId = userManager.GetUserId(user),
                    JobTitleId = companyId
                };

                employeeDataService.AddJobTitleToEployee(addJobTitleToEmployeServiceModel);
            }
            else
            {
                var companyId = jobTitleDataService.FindByName(name).Id;

                var addJobTitleToEmployeServiceModel = new AddJobTitleToEmployeServiceModel()
                {
                    EmployeeId = userManager.GetUserId(user),
                    JobTitleId = companyId
                };

                employeeDataService.AddJobTitleToEployee(addJobTitleToEmployeServiceModel);
            }
        }
 /// <summary>
 /// Adds Job Title to employee
 /// </summary>
 /// <param name="addJobTitleToEmployeServiceModel">AddJobTitleToEmployeServiceModel is a DTO which contains the needed info for this operations</param>
 public void AddJobTitleToEployee(AddJobTitleToEmployeServiceModel addJobTitleToEmployeServiceModel)
 {
     data.Users.Where(e => e.Id == addJobTitleToEmployeServiceModel.EmployeeId).FirstOrDefault().JobTitleId = addJobTitleToEmployeServiceModel.JobTitleId;
     data.SaveChanges();
 }