title: How to calculate sum of expenses of the entries made at current date using LINQ or anything?
body: <p>I want to calculate the sum of the expenditure made on current date's entry. 
  this is my model.</p>
  
  <pre><code>public class ExpenditureViewModel
  {
      public decimal PaidPrice { get; set; } 
      public DateTime CreatedDate {get; set;}       
  }
  </code></pre>
  
  <p>this is the DashboardViewmodel</p>
  
  <pre><code>public decimal TotalExpenses { get; set; }
  </code></pre>
  
  <p>this code will sum up all the expenses made but i want of the current date. </p>
  
  <pre><code>model.TotalExpenses = ent.Expenditures.Sum(m =&gt; m.PaidPrice);
  </code></pre>