Example #1
0
        public ActionResult <SinhVienDTO> GetSinhVienByMaSV(string masv)
        {
            var ma = _service.GetSinhVienByMaSV(masv);

            if (ma != null)
            {
                return(Ok(_mapper.Map <SinhVienDTO>(ma)));
            }

            return(NotFound());
        }