using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using BeWo.Data.Access; using BeWo.Data.Entities; using BeWo.Service.DCEntityMapper; using BeWo.Service.Plugins; using BS.Shared.DataContracts.Compact; namespace AkggMid.Service { public class CustomCustomerService : CustomerService { // public override List GetAllActiveSupportConceptCostbearer(bool onlyApproved, bool onlyWithAssignedCostbearer, long employeeOid) //{ // var liste = base.GetAllActiveSupportConceptCostbearer(onlyApproved, onlyWithAssignedCostbearer, employeeOid); // return liste.Where(a => a.CustomerFullName.StartsWith("A")).ToList(); // protected override string GetDefaultBrush(SupportConcept sc, CostBearer2SupportConcept c2s) { if (c2s.StartDate.HasValue && c2s.StartDate > DateTime.Now) { return "#FF70A0FF"; } return base.GetDefaultBrush(sc, c2s); } } }