Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public List <MessagesEntity> GetList(Pagination pagination, string keyword) { var expression = ExtLinq.True <MessagesEntity>(); expression = expression.And(m => m.DeleteMark != true); if (!string.IsNullOrEmpty(keyword)) { expression = expression.And(t => t.UserName.Contains(keyword)); } return(service.FindList(expression, pagination)); }