$( window ).scroll(function() {
if(window.pageYOffset >= 6000) {
<script type="text/javascript" charset="utf-8" async src="https://api-maps.yandex.ru/services/constructor/1.0/js/?um=constructor%3A2467dfbbd414306f38c00aa9048346ada3bf2ae105b1d1c84eb6a671b54fc5cd&width=100%25&height=300&lang=ru_RU&scroll=false"></script>
}
});
window.pageYOffset
if(window.pageYOffset >= 6000) {
public class UploadModel
{
public string MiddleName { get; set; } = "";
[Required]
public string LastName { get; set; } = "";
[Required]
public string Name { get; set; } = "";
}
public class ClientEntity
{
public ClientEntity()
{
Events = new HashSet<EventEntity>();
}
public long Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public ICollection<EventEntity> Events { get; set; }
public int? UserFK { get; set; }
public UserEntity User { get; set; }
}
public class UploadModel
{
[Required]
public string LastName { get; set; } = "";
[Required]
public string Name { get; set; } = "";
public string MiddleName { get; set; } = "";
}
return await _repository.Entities
.Include(ev => ev.Executor)
.Where(ev => !ev.DeletedOn.HasValue)
.ToListAsync();
formData.append('lastName', this.lastName);
formData.append('name', this.name);