/****************************************************************************
         * Created By :  Saddam
         * Created For : Service for Update UpdatePermissionInboundOthers
         *****************************************************************************************/
        public void UpdatePermissionInboundOthers(PermissionInboundOthers PermissionInboundOthers)
        {
            PermissionInboundOthers.ModifiedDate = DateTime.Now;

            PermissionInboundOthers.DeactivateBy   = null;
            PermissionInboundOthers.DeactivateDate = null;
            _PermissionInboundOthers.Update(PermissionInboundOthers);
        }
        public int InsertPermissionInboundOthers(PermissionInboundOthers PermissionInboundOthers)
        {
            PermissionInboundOthers.Deactivate     = "N";
            PermissionInboundOthers.EntryDate      = DateTime.Now;
            PermissionInboundOthers.ModifiedBy     = null;
            PermissionInboundOthers.ModifiedDate   = null;
            PermissionInboundOthers.DeactivateBy   = null;
            PermissionInboundOthers.DeactivateDate = null;

            _PermissionInboundOthers.Insert(PermissionInboundOthers);
            return(PermissionInboundOthers.Id);
        }
 /****************************************************************************
  *    Created By :  Dheeraj Kumar Sharma
  *    Created For : Insert into PermissionInboundOthers
  *****************************************************************************************/
 public void insertPermissionInboundOthers(PermissionInboundOthers obj)
 {
     _PermissionInboundOthers.Insert(obj);
 }