|
|
@@ -146,6 +146,23 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers |
|
|
|
return null; |
|
|
|
} |
|
|
|
} |
|
|
|
public ActionResult FileDownLoadTZS(string IDCard) |
|
|
|
{ |
|
|
|
FileStreamResult result = null; |
|
|
|
try |
|
|
|
{ |
|
|
|
var path = Server.MapPath("~/Resource/StuTZS/"); |
|
|
|
var pathoffull = path + IDCard+".jpg"; |
|
|
|
FileStream fsread = new FileStream(pathoffull, FileMode.OpenOrCreate, FileAccess.ReadWrite); |
|
|
|
result = File(fsread, "image/jpg", IDCard + ".jpg"); |
|
|
|
|
|
|
|
return result; |
|
|
|
} |
|
|
|
catch (Exception ex) |
|
|
|
{ |
|
|
|
return null; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
protected virtual ActionResult Success(string info) |
|
|
|
{ |
|
|
|