我有一个Create动作,它接受一个实体对象和一个HttpPostedFileBase图像.该图像不属于实体模型.
我可以将实体对象保存在数据库中,将文件保存在磁盘中,但我不确定如何验证这些业务规则:
security asp.net-mvc
asp.net-mvc ×1
security ×1