protected virtual async Task Create(CreateOrEditEmployeeTempTransferDto input)
        {
            var employeeTempTransfer = ObjectMapper.Map <EmployeeTempTransfer>(input);



            await _employeeTempTransferRepository.InsertAsync(employeeTempTransfer);
        }
 public async Task CreateOrEdit(CreateOrEditEmployeeTempTransferDto input)
 {
     if (input.Id == null)
     {
         await Create(input);
     }
     else
     {
         await Update(input);
     }
 }
        protected virtual async Task Update(CreateOrEditEmployeeTempTransferDto input)
        {
            var employeeTempTransfer = await _employeeTempTransferRepository.FirstOrDefaultAsync((int)input.Id);

            ObjectMapper.Map(input, employeeTempTransfer);
        }