Files
BeWoPlaner/Service/Plugins/SaveInterceptor.cs

27 lines
635 B
C#
Raw Permalink Normal View History

2016-06-27 01:45:38 +02:00
using System;
using System.Collections.Generic;
using BeWo.Data.Entities;
using BS.Shared.Core;
using BS.Shared.DataContracts;
namespace BeWo.Service.Plugins
{
public class SaveInterceptor : AbstractIDSpecificDefaultClass<SaveInterceptor>
{
public virtual void BeforeSaveServiceRecord(ServiceRecord sr)
{
//do nothing
}
2017-11-13 16:37:21 +01:00
public virtual String AllowSaveCustomer(CustomerDC c)
2017-11-06 10:30:25 +01:00
{
// //ZUM TESTEN ;-)
//if (!String.IsNullOrWhiteSpace(c.Notice) && c.Notice.Contains("NEIN"))
//{
// return "NEIN";
//}
2017-11-13 16:37:21 +01:00
return null;
2017-11-06 10:30:25 +01:00
}
}
2016-06-27 01:45:38 +02:00
}