public UserDTO UserLogin(ISpecification <User> ispec) { var user = iUserManage.FindBy(ispec); return(user == null ? null : MapperSupport.MapTo <UserDTO>(user)); }