public async Task <IEnumerable <Shared.Models.AppraisalWithDetail> > GetAllAsync()
        {
            var appraisals = await _appraisalRepository.GetAllAsync();

            var appraisal           = appraisals.First();
            var answers             = appraisal.AppraisalFormAnswers;
            var detail              = appraisal.AppraisalFormAnswers.Take(1);
            var appraisalWithDetail = new AppraisalWithDetail(appraisal);

            var appraisalsWithDetail = new List <Shared.Models.AppraisalWithDetail>()
            {
                appraisalWithDetail
            };

            return(await Task.FromResult(appraisalsWithDetail));
        }
        public async Task <IEnumerable <Shared.Models.Appraisal> > GetAllAsync()
        {
            var appraisals = await _appraisalRepository.GetAllAsync();

            return(await Task.FromResult(appraisals));
        }