public async Task <ResponseModel> Get(Guid id)
        {
            ITraineeService traineeService = new TraineeService(new VirtualtraineesEntities());
            var             trainee        = await traineeService.Get(id);

            return(trainee != null ? new ResponseModel(trainee) : new ResponseModel(null, false, MessageContainer.NoUserFound));
        }
 public ActionResult <List <Trainee> > Get() =>
 _traineeService.Get();