Files
BeWoPlaner/Service/Plugins/SaveInterceptor.cs
Christian 22b24b0c1c Merge branch 'master' of ssh://float.beyondsoft.de/git/beyondSoft/BeWo
# Conflicts:
#	Service/ServiceImplementations/OperationsServiceImp.cs
2017-11-14 10:46:54 +01:00

27 lines
635 B
C#

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
}
public virtual String AllowSaveCustomer(CustomerDC c)
{
// //ZUM TESTEN ;-)
//if (!String.IsNullOrWhiteSpace(c.Notice) && c.Notice.Contains("NEIN"))
//{
// return "NEIN";
//}
return null;
}
}
}