/**************************************************************************** * Created By : Saddam * Created For : Service for Update PermissionInboundImageVideoBank *****************************************************************************************/ public void UpdatePermissionInboundImageVideoBank(PermissionInboundImageVideoBank PermissionInboundImageVideoBank) { PermissionInboundImageVideoBank.ModifiedDate = DateTime.Now; PermissionInboundImageVideoBank.DeactivateBy = null; PermissionInboundImageVideoBank.DeactivateDate = null; _PermissionInboundImageVideoBank.Update(PermissionInboundImageVideoBank); }
//public void InsertPermissionInboundImageVideoBankLink(PermissionInboundImageVideoBank _InboundImageVideoBank) //{ // _InboundImageVideoBank.Deactivate = "N"; // _InboundImageVideoBank.EntryDate = DateTime.Now; // _InboundImageVideoBank.ModifiedBy = null; // _InboundImageVideoBank.ModifiedDate = null; // _InboundImageVideoBank.DeactivateBy = null; // _InboundImageVideoBank.DeactivateDate = null; // _PermissionInboundImageVideoBank.Insert(_InboundImageVideoBank); //} public int InsertPermissionInboundImageVideoBankLink(PermissionInboundImageVideoBank _InboundImageVideoBank) { _InboundImageVideoBank.Deactivate = "N"; _InboundImageVideoBank.EntryDate = DateTime.Now; _InboundImageVideoBank.ModifiedBy = null; _InboundImageVideoBank.ModifiedDate = null; _InboundImageVideoBank.DeactivateBy = null; _InboundImageVideoBank.DeactivateDate = null; _PermissionInboundImageVideoBank.Insert(_InboundImageVideoBank); return(_InboundImageVideoBank.Id); }