public async Task <IDataResult <Student> > GetStudentByIdAsync(int id)
        {
            var student = await _studentDal.GetAsync(s => s.Id == id);

            if (student == null)
            {
                return(new ErrorDataResult <Student>(new Student {
                    Id = id
                }, HttpStatusCode.NotFound));
            }

            return(new SuccessfulDataResult <Student>(student, HttpStatusCode.OK));
        }