public ActionResult AddNewEmployee(EmployeeDTO newEmployee)
 {
     try
     {
         if (newEmployee == new EmployeeDTO())
         {
             throw new ArgumentException("Input Value is Empty/Null");
         }
         string task           = JsonConvert.SerializeObject(newEmployee.Tasks);
         var    employeeToRepo = _mapper.Map <Employee>(newEmployee);
         employeeToRepo.Tasks = task;
         _task.AddNewTask(_mapper.Map <DataStorage.Models.Task>(task));
         _employeeRepo.AddNewEmployee(employeeToRepo);
         return(NoContent());
     }
     catch (Exception ex)
     {
         LogHelper.LogExceptionMessage(ex);
         return(BadRequest(ex.GetBaseException().ToString()));
     }
 }